• A NavigationService is the entry-point protocol for MapboxCoreNavigation. It contains all the dependencies needed by the MapboxNavigation UI SDK, as well as dependencies for its child objects. MapboxNavigationService is the default implementation. If you would like to implement your own core-navigation stack, be sure to conform to this protocol.

    See more

    Declaration

    Swift

    @objc(MBNavigationService)
    public protocol NavigationService : CLLocationManagerDelegate, DefaultInterfaceFlag, EventsManagerDataSource, RouterDataSource
  • A NavigationService is the entry-point interface into MapboxCoreNavigation. This service manages a locationManager (which feeds it location updates), a Directions service (for rerouting), a Router (for route-following), a NavigationEventsManager (for telemetry), and a simulation engine for use during poor GPS conditions.

    See more

    Declaration

    Swift

    @objc(MBNavigationService)
    public class MapboxNavigationService : NSObject, NavigationService, DefaultInterfaceFlag
  • A RouteController tracks the user’s progress along a route, posting notifications as the user reaches significant points along the route. On every location update, the route controller evaluates the user’s location, determining whether the user remains on the route. If not, the route controller calculates a new route.

    RouteController is responsible for the core navigation logic whereas NavigationViewController is responsible for displaying a default drop-in navigation UI.

    See more

    Declaration

    Swift

    @objc(MBRouteController)
    open class RouteController : NSObject